package com.ruoyi.combat.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课题算法管理对象 combat_method
 *
 * @author ruoyi
 * @date 2025-01-09
 */
@ApiModel("课题算法信息表")
public class CombatMethod extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 方法id
     */
    @ApiModelProperty("方法id")
    private Long id;

    /**
     * 方法名称
     */
    @ApiModelProperty("方法名称")
    @Excel(name = "方法名称")
    private String methodName;

    /**
     * 访问方式
     */
    @ApiModelProperty("访问方式")
    @Excel(name = "访问方式")
    private String methodType;

    /**
     * 访问参数样例
     */
    @ApiModelProperty("访问参数样例")
    @Excel(name = "访问参数样例")
    private String methodParam;

    /**
     * 方法调用次数
     */
    @ApiModelProperty("方法调用次数")
    @Excel(name = "方法调用次数")
    private Long methodNum;

    /**
     * 方法创建者
     */
    @ApiModelProperty("方法创建者")
    @Excel(name = "方法创建者")
    private String methodCreateby;

    /**
     * 方法调用地址
     */
    @ApiModelProperty("方法调用地址")
    @Excel(name = "方法调用地址")
    private String methodUrl;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodType(String methodType) {
        this.methodType = methodType;
    }

    public String getMethodType() {
        return methodType;
    }

    public void setMethodParam(String methodParam) {
        this.methodParam = methodParam;
    }

    public String getMethodParam() {
        return methodParam;
    }

    public void setMethodNum(Long methodNum) {
        this.methodNum = methodNum;
    }

    public Long getMethodNum() {
        return methodNum;
    }

    public void setMethodCreateby(String methodCreateby) {
        this.methodCreateby = methodCreateby;
    }

    public String getMethodCreateby() {
        return methodCreateby;
    }

    public void setMethodUrl(String methodUrl) {
        this.methodUrl = methodUrl;
    }

    public String getMethodUrl() {
        return methodUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("methodName", getMethodName())
                .append("methodType", getMethodType())
                .append("methodParam", getMethodParam())
                .append("methodNum", getMethodNum())
                .append("methodCreateby", getMethodCreateby())
                .append("methodUrl", getMethodUrl())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
